#ifndef __GUIEventSender__h__
#define __GUIEventSender__h__

#include "neiderra/core/Base.h"
#include "Events.h"
#include "EventHandler.h"

#include <vector>

namespace neiderra {
    namespace gui {
        namespace events {
            class aEventSender: public Base {
            public:
                aEventSender(Core*);
                virtual ~aEventSender();
                virtual void addHandler(aEventHandler*);
                virtual void removeHandler(aEventHandler*);
                virtual void send(aEvent*);
            protected:
                std::vector<aEventHandler*> handlers_;
            };
        }
    }
}

#endif
